package fpa.test0726;

public class zuiyouxz {
    public static void main(String[] args){
        double money1=24+8+3;
        money1=(money1<=30?money1:money1*0.8);
        double money2=16+8+3;
        double money=money1<money2?money1:money2;
        System.out.println(money);
    }
}
